"""
*
**
***
****
"""
# i = 1
# while i <= 4:
#     print('*' * i )
#     i += 1
"""
   *
  ***
 *****
*******
"""
i = 0
while i <=4:
    print(' ' * (4 - i) + '*' * (2 * i - 1))
    #print(' ' * (4 - i), '*' * (2 * i - 1)) # 逗号分割中间会有一个空格
    i += 1